/**
 * 
 */
package org.xlab.baseframework.test.platform.service.api;

import java.util.Date;
import java.util.List;
import java.util.Map;

import org.springframework.transaction.annotation.Transactional;
import org.xlab.baseframework.exception.ObjectNotFoundException;
import org.xlab.baseframework.test.platform.domain.BizTransactionLog;
import org.xlab.baseframework.test.platform.domain.EpcCache.EpcInfo;

/**
 * @author makubex
 * 
 */
public interface IBizTransactionLogService {
	public boolean checkLogic(BizTransactionLog bizLog,
			Map<String, EpcInfo> ivnImage);

	public List<BizTransactionLog> findAllByExample(
			BizTransactionLog bizTransactionLog) throws ObjectNotFoundException;

	public List<BizTransactionLog> findAllByMaxCreatedTime(Date maxCreatedTime)
			throws ObjectNotFoundException;

	@Transactional
	public void save(BizTransactionLog bizTransactionLog);

	@Transactional
	public void update(BizTransactionLog bizTransactionLog);
}
